<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关于我们 - 龙虎斗</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-attachment: fixed;
            min-height: 100vh;
            color: #333;
            transition: background 0.3s ease;
        }

        /* 主题颜色样式 */
        body.theme-blue {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-green {
            background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-orange {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-purple {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-pink {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-red {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-yellow {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-cyan {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-lime {
            background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-indigo {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-teal {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-rose {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-amber {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-emerald {
            background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-sky {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
            background-attachment: fixed !important;
        }

        body.theme-violet {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            background-attachment: fixed !important;
        }

        .container {
            max-width: 480px;
            margin: 0 auto;
            background: transparent;
            min-height: 100vh;
            position: relative;
        }

        .header {
            background: rgba(102, 126, 234, 0.9);
            backdrop-filter: blur(10px);
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .back-btn {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
        }

        .header h1 {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
        }

        .about-content {
            padding: 20px;
        }

        .about-section {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 18px;
            padding: 25px;
            margin-bottom: 20px;
            border: 1px solid rgba(233, 236, 239, 0.8);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .about-title {
            color: #495057;
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 12px;
            border-bottom: 2px solid #e9ecef;
        }

        .about-text {
            color: #495057;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .about-text:last-child {
            margin-bottom: 0;
        }

        .company-logo {
            text-align: center;
            margin-bottom: 20px;
        }

        .logo-icon {
            font-size: 64px;
            margin-bottom: 15px;
            display: block;
        }

        .company-name {
            font-size: 24px;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 10px;
        }

        .company-slogan {
            font-size: 16px;
            color: #6c757d;
            font-style: italic;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 20px 0;
        }

        .stat-item {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            transition: transform 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 14px;
            opacity: 0.9;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 20px 0;
        }

        .team-member {
            background: rgba(248, 249, 250, 0.8);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            border: 2px solid rgba(233, 236, 239, 0.6);
            transition: all 0.3s ease;
        }

        .team-member:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            border-color: #667eea;
        }

        .member-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 24px;
            color: white;
        }

        .member-name {
            font-size: 16px;
            font-weight: 600;
            color: #495057;
            margin-bottom: 8px;
        }

        .member-role {
            font-size: 14px;
            color: #6c757d;
        }

        .contact-info {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            margin-top: 20px;
        }

        .contact-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .contact-details {
            font-size: 14px;
            opacity: 0.9;
            line-height: 1.8;
        }

        .contact-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .contact-item:last-child {
            margin-bottom: 0;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .social-link:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
        }

        .version-info {
            text-align: center;
            color: #6c757d;
            font-size: 12px;
            margin-top: 20px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 10px;
        }

        .highlight {
            background: rgba(102, 126, 234, 0.1);
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
            margin: 15px 0;
        }

        .highlight-title {
            color: #667eea;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .highlight-text {
            color: #495057;
            font-size: 13px;
            line-height: 1.5;
        }

        /* 响应式设计 */
        @media (max-width: 480px) {
            .about-section {
                padding: 20px;
                margin-bottom: 15px;
            }

            .about-title {
                font-size: 16px;
                margin-bottom: 15px;
            }

            .about-text {
                font-size: 13px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .logo-icon {
                font-size: 48px;
            }

            .company-name {
                font-size: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <button class="back-btn" onclick="goBack()">←</button>
            <h1>关于我们</h1>
        </div>

        <div class="about-content">
            <!-- 公司介绍 -->
            <div class="about-section">
                <div class="company-logo">
                    <span class="logo-icon">🐉</span>
                    <div class="company-name">龙虎斗游戏</div>
                    <div class="company-slogan">传承经典，创新玩法</div>
                </div>
                
                <h3 class="about-title">
                    <span>🏢</span>
                    公司简介
                </h3>
                <p class="about-text">
                    龙虎斗游戏成立于2024年，是一家专注于休闲游戏开发的创新型企业。我们致力于为玩家提供优质、有趣、富有挑战性的游戏体验。
                </p>
                <p class="about-text">
                    我们的团队由经验丰富的游戏设计师、程序员和美术设计师组成，拥有深厚的游戏开发经验和对玩家需求的深刻理解。
                </p>
            </div>

            <!-- 核心数据 -->
            <div class="about-section">
                <h3 class="about-title">
                    <span>📊</span>
                    核心数据
                </h3>
                <div class="stats-grid">
                    <div class="stat-item">
                        <div class="stat-value">100万+</div>
                        <div class="stat-label">注册用户</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-value">50+</div>
                        <div class="stat-label">游戏关卡</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-value">4.8</div>
                        <div class="stat-label">用户评分</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-value">99.9%</div>
                        <div class="stat-label">服务可用性</div>
                    </div>
                </div>
            </div>

            <!-- 我们的使命 -->
            <div class="about-section">
                <h3 class="about-title">
                    <span>🎯</span>
                    我们的使命
                </h3>
                <p class="about-text">
                    让每个人都能享受游戏的乐趣，在轻松愉快的游戏体验中放松身心，获得成就感。
                </p>
                
                <div class="highlight">
                    <div class="highlight-title">核心价值观</div>
                    <div class="highlight-text">
                        <strong>创新：</strong>不断探索新的游戏玩法和体验<br>
                        <strong>品质：</strong>追求卓越的游戏品质和用户体验<br>
                        <strong>用户至上：</strong>以用户需求为中心，持续优化产品<br>
                        <strong>诚信：</strong>诚实守信，保护用户隐私和权益
                    </div>
                </div>
            </div>

            <!-- 团队介绍 -->
            <div class="about-section">
                <h3 class="about-title">
                    <span>👥</span>
                    核心团队
                </h3>
                <p class="about-text">
                    我们拥有一支充满激情和创造力的专业团队，致力于为用户打造最好的游戏体验。
                </p>
                
                <div class="team-grid">
                    <div class="team-member">
                        <div class="member-avatar">👨‍💻</div>
                        <div class="member-name">张明</div>
                        <div class="member-role">技术总监</div>
                    </div>
                    <div class="team-member">
                        <div class="member-avatar">🎨</div>
                        <div class="member-name">李华</div>
                        <div class="member-role">美术总监</div>
                    </div>
                    <div class="team-member">
                        <div class="member-avatar">🎮</div>
                        <div class="member-name">王强</div>
                        <div class="member-role">游戏策划</div>
                    </div>
                    <div class="team-member">
                        <div class="member-avatar">📱</div>
                        <div class="member-name">陈丽</div>
                        <div class="member-role">产品经理</div>
                    </div>
                </div>
            </div>

            <!-- 发展历程 -->
            <div class="about-section">
                <h3 class="about-title">
                    <span>📈</span>
                    发展历程
                </h3>
                <div class="highlight">
                    <div class="highlight-title">重要里程碑</div>
                    <div class="highlight-text">
                        <strong>2024年1月：</strong>公司成立，开始组建核心团队<br>
                        <strong>2024年3月：</strong>完成龙虎斗游戏原型设计<br>
                        <strong>2024年6月：</strong>完成游戏开发，开始内部测试<br>
                        <strong>2024年9月：</strong>游戏正式上线，获得用户好评<br>
                        <strong>2024年12月：</strong>用户突破100万，持续优化产品
                    </div>
                </div>
            </div>

            <!-- 联系我们 -->
            <div class="contact-info">
                <div class="contact-title">联系我们</div>
                <div class="contact-details">
                    <div class="contact-item">
                        <span>📧</span>
                        <span>邮箱：contact@longhudou.com</span>
                    </div>
                    <div class="contact-item">
                        <span>📞</span>
                        <span>客服热线：400-123-4567</span>
                    </div>
                    <div class="contact-item">
                        <span>🏢</span>
                        <span>地址：北京市朝阳区科技园区</span>
                    </div>
                    <div class="contact-item">
                        <span>⏰</span>
                        <span>工作时间：周一至周五 9:00-18:00</span>
                    </div>
                </div>
                
                <div class="social-links">
                    <a href="#" class="social-link">📱</a>
                    <a href="#" class="social-link">💬</a>
                    <a href="#" class="social-link">📺</a>
                    <a href="#" class="social-link">📧</a>
                </div>
            </div>

            <!-- 版本信息 -->
            <div class="version-info">
                <div>龙虎斗游戏 v1.0.0</div>
                <div>© 2024 龙虎斗游戏. 保留所有权利.</div>
            </div>
        </div>
    </div>

    <script>
        // 返回上一页
        function goBack() {
            window.history.back();
        }

        // 应用主题颜色
        function applyTheme(theme) {
            console.log('关于我们页面应用主题:', theme);
            
            // 移除所有主题类
            const body = document.body;
            const allThemes = ['theme-blue', 'theme-green', 'theme-orange', 'theme-purple', 
                              'theme-pink', 'theme-red', 'theme-yellow', 'theme-cyan', 
                              'theme-lime', 'theme-indigo', 'theme-teal', 'theme-rose', 
                              'theme-amber', 'theme-emerald', 'theme-sky', 'theme-violet'];
            
            allThemes.forEach(themeClass => {
                body.classList.remove(themeClass);
            });
            
            // 添加新主题类
            if (theme && theme !== 'default') {
                body.classList.add('theme-' + theme);
                console.log('已应用主题类:', 'theme-' + theme);
            }
        }

        // 检查并同步主题
        function checkAndSyncTheme() {
            const savedTheme = localStorage.getItem('selectedTheme');
            const lastUpdateTime = localStorage.getItem('themeUpdateTime');
            
            if (savedTheme && lastUpdateTime) {
                console.log('检测到保存的主题:', savedTheme);
                applyTheme(savedTheme);
            }
        }

        // 监听主题变化
        function startThemeListener() {
            let lastThemeUpdateTime = localStorage.getItem('themeUpdateTime') || '0';
            
            // 定期检查主题更新
            setInterval(() => {
                const currentThemeUpdateTime = localStorage.getItem('themeUpdateTime') || '0';
                
                if (currentThemeUpdateTime !== lastThemeUpdateTime) {
                    console.log('检测到主题更新');
                    lastThemeUpdateTime = currentThemeUpdateTime;
                    
                    const savedTheme = localStorage.getItem('selectedTheme');
                    if (savedTheme) {
                        console.log('同步新主题:', savedTheme);
                        applyTheme(savedTheme);
                    }
                }
            }, 500);
        }

        // 页面加载时初始化
        document.addEventListener('DOMContentLoaded', function() {
            console.log('关于我们页面加载完成');
            
            // 检查并同步主题
            checkAndSyncTheme();
            
            // 启动主题监听器
            startThemeListener();
            
            // 监听页面可见性变化
            document.addEventListener('visibilitychange', function() {
                if (!document.hidden) {
                    console.log('页面变为可见，检查主题更新');
                    checkAndSyncTheme();
                }
            });
            
            console.log('主题同步功能已启动');
            console.log('当前保存的主题:', localStorage.getItem('selectedTheme'));
            console.log('主题更新时间:', localStorage.getItem('themeUpdateTime'));
        });
    </script>
</body>
</html>
